<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/eui.css">
    <style>
        .c1{
            border: 1px solid red;
            border-radius: 5px;
        }
    </style>

</head>
<body>
<div id="app">
    <!--将一行划分为两等份-->
    <el-row>
        <el-col span="12"><div class="c1">占12</div></el-col>
        <el-col span="12"><div class="c1">占12</div></el-col>
    </el-row>
    <!--gutter设置间距-->
    <el-row gutter="20">
        <el-col span="8"><div class="c1">占8</div></el-col>
        <el-col span="8"><div class="c1">占8</div></el-col>
        <el-col span="8"><div class="c1">占8</div></el-col>
    </el-row>
    <h1>练习:四等份</h1>
    <el-row gutter="20">
        <el-col span="6"><div class="c1">aaa</div></el-col>
        <el-col span="6"><div class="c1">aaa</div></el-col>
        <el-col span="6"><div class="c1">aaa</div></el-col>
        <el-col span="6"><div class="c1">aaa</div></el-col>
    </el-row>
    <h1>练习:  3:1</h1>
    <el-row gutter="20" style="width: 1200px;margin: 0 auto">
        <el-col span="18"><div class="c1">aaa</div></el-col>
        <el-col span="6"><div class="c1">aaa</div></el-col>
    </el-row>
    <h1>分栏偏移</h1>
    <el-row gutter="20">
        <!--offset设置偏移数量-->
        <el-col span="20" offset="2"><div class="c1">aaa</div></el-col>
    </el-row>
</div>
<script src="js/vue.js"></script>
<script src="js/eui.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {

            }
        }
    })
</script>

</body>
</html>